// 估清相关api
import http from '@/utils/http'

// key对应函数名，value对应api地址
const apiFormData = {
  //  菜品估清 对应菜品数量估清
  foodCountAppraise: 'shopFood/foodLimit',
  // 清空估清菜品
  clearFoodAppraise: 'shopFood/clearFoodLimit'
}

export function foodCountAppraise(data: any) {
  return http({
    url: apiFormData.foodCountAppraise,
    method: 'post',
    data
  })
}

export function clearFoodAppraise(data: any) {
  return http({
    url: apiFormData.clearFoodAppraise,
    method: 'post',
    data
  })
}
